<html>

<head>
<title>The Find-in-Files Window</title>
<meta content="Find-in-Files Window,IDE Windows" name="keywords">
</head>

<body bgcolor="#FFFCEA">

<table bgcolor="#C0C0C0" border="0" cellpadding="2" cellspacing="0" width="100%">
	<tr>
		<td align="left">
		<div align="left">
			<font face="Arial" size="4">
			<span style="font-size: 14pt; font-family: Arial; color: #000000">The 
			Find-in-Files Window</span></font></div>
		</td>
		<td align="right"><font face="Arial" size="2">
		<a href="outputwindow.htm">Previous</a>&nbsp;<a href="pyscripter.htm">Top</a>&nbsp;<a href="todolistwindow.htm">Next</a>
		</font></td>
	</tr>
</table>
<hr>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The Find-in-Files 
	Results window is where the results of a </span></font>
	<a href="findinfiles.htm"><font color="#0000ff" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>Find-in-Files 
	Search</u></span></font></a><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101"> 
	are shown.&nbsp; It also provides an interface for multi-file search and replace 
	on matches.&nbsp; The window uses a folding display of matches to allow you 
	to easily locate a particular match.&nbsp; This window supports IDE docking.&nbsp; 
	An example of this window appears below.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="center">
	<img alt="graphic" border="0" src="findinfileswindow1.JPG" style="width: 30.69em; height: 22.81em"></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="center">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>The Context 
	Menu</i></span></font></div>
<div align="center">
	<img alt="graphic" border="0" src="findinfileswindow2.JPG" style="width: 15.94em; height: 17.69em"></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The results 
	window displays all files which contained one or more matches for the search 
	term.&nbsp; Under each file, a list of matches for that particular file can 
	be shown.&nbsp; To expand or contract a file's matches, click on the filename, 
	press enter, or use the '+' and '-' keys.&nbsp; When a specific match line is 
	selected, the window can show a number of lines of match context using the Show 
	Match Context menu item. Note that the match context might not be accurate if 
	you have edited the searched files since the search.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The number 
	to the left of each match is the line number where the match was found.&nbsp; 
	The results list highlights the matching characters in each entry to indicate 
	where the match occurred.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">To jump to 
	a match in the IDE editor, double click the desired line, press enter, or use 
	the Goto toolbar button.&nbsp; To start a new search, click the Search button 
	and the Find-in-Files Search dialog will appear. As the search progresses, the 
	new search button will be disabled and the abort button will be enabled to cancel 
	the current search.&nbsp; Once a search is completed, the results window displays 
	on the status bar the number of files searched, the search time, and the total 
	number of matches.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">You can expand 
	all items in the list by clicking the expand button in the toolbar.&nbsp; Similarly, 
	clicking the contract button in the tool bar will contract all result items.&nbsp;&nbsp;&nbsp; 
	The entire match list can be coped to the clipboard or saved to a file using 
	the items on the File menu.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><b>Search 
	and Replace on Matches</b></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">You can do 
	a search and replace operation on all of the matches in the list or only the 
	selected file/match.&nbsp; When you choose one of those options, the dialog 
	below appears prompting for the string to use in place of the matched text. 
	If you were using a&nbsp; Regular Expression search you can use sub-expressions 
	in the replace expression using the $x syntax, where x is the sub-expression 
	number.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="center">
	<img alt="graphic" border="0" src="findinfileswindow3.JPG" style="width: 23.38em; height: 11.88em"></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><b>Find-in-Files 
	Results options</b></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">Using the 
	Options dialog below, define how selected matches are shown in the editor, whether 
	to expand all matches by default, the number of context lines to show, and the 
	list and context fonts/colors. </span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><b><br>
	</b></span></font></div>
<div align="center">
	<img alt="graphic" border="0" src="findinfileswindow4.JPG" style="width: 17.06em; height: 19.44em"></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Credits: 
	This utility is based on code from the GExperts project </i>(</span></font><a href="http:\\www.gexperts.org"><font color="#0000ff" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>www.gexperts.org</u></span></font></a><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">)<i>.</i></span></font></div>
<div align="left">
&nbsp;&nbsp;</div>

</body>

</html>
